package demo;

public class Bird extends Animal {
    /*@Override
    public void func() {
        System.out.println(this.name+"可以飞！");
    }*/

    @Override
    public void func() {
        System.out.println(this.name+"可以飞！");
    }
}
